package com.smzd.framework.system.mappers;

import java.util.List;

import com.smzd.core.domain.Many2Many;
import com.smzd.core.mappers.IMapper;
import com.smzd.framework.system.domain.Group;
import com.smzd.framework.system.domain.Meeting;
import com.smzd.framework.utils.db.ORPage;

public interface GroupMapper extends IMapper<Group> {

    List<Group> getUserGroupListByPage(ORPage<Meeting, Group> page);

    void insertUserGroup(Many2Many add);

    void removeUserGroup(Many2Many del);

    List<Group> getGroupsByUserId(int uid);

}
